package com.zjapl.web.util.random;

import java.util.Random;

/**
 * @author 作者:方武斌 E-mail: fangwb@zjapl.com
 * @version 创建时间：2013-1-14 上午9:45:33
 *          类说明产生6位随机字符串
 */
public class RandomString {
	
	static Random 	rand= new Random();
	public static int NextInt(final int min, final int max)
	{

	    int tmp = Math.abs(rand.nextInt());
	    return tmp % (max - min + 1) + min;
	}
	
}